#pragma once

namespace reactor {
/**
 * @brief 继承该类以禁用拷贝构造和拷贝赋值
 */
class noncopyable {
public:
    noncopyable(const noncopyable&) = delete;
    void operator=(const noncopyable&) = delete;

protected:
    noncopyable() = default;
    ~noncopyable() = default;
};
} // namespace reactor
